name := """ax"""

version := "0.1"

scalaVersion := "2.11.7"

lazy val akkaVersion = "2.4.0"
val AkkaHttpVersion   = "2.4.11"

libraryDependencies ++= Seq(
  "com.typesafe.akka" %% "akka-cluster" % akkaVersion,
  "com.typesafe.akka" %% "akka-cluster-tools" % akkaVersion,
  "com.typesafe.akka" %% "akka-testkit" % akkaVersion % "test",
  "com.typesafe.play" %% "play-json" % "2.4.0",
  "com.typesafe.akka" %% "akka-http-experimental" % AkkaHttpVersion,
  "com.typesafe.akka" %% "akka-http-testkit-experimental" % "2.4.2-RC3"
  
  )

libraryDependencies += "com.typesafe.scala-logging" %% "scala-logging" % "3.5.0"

PB.targets in Compile := Seq(
  scalapb.gen() -> (sourceManaged in Compile).value
)

// (optional) If you need scalapb/scalapb.proto or anything from
// google/protobuf/*.proto
libraryDependencies += "com.trueaccord.scalapb" %% "scalapb-runtime" % com.trueaccord.scalapb.compiler.Version.scalapbVersion % "protobuf"

libraryDependencies += "com.typesafe.akka" %% "akka-persistence" % akkaVersion
libraryDependencies += "org.iq80.leveldb" % "leveldb" % "0.7"
libraryDependencies += "org.fusesource.leveldbjni" % "leveldbjni-all" % "1.8"

libraryDependencies +=  "org.consensusresearch" %% "scrypto" % "1.0.4"

libraryDependencies += "org.mapdb" % "mapdb" % "2.0-beta13"

libraryDependencies += "org.scalacheck" %% "scalacheck" % "1.13.4" % "test"

libraryDependencies += "org.scalactic" %% "scalactic" % "3.0.1"
libraryDependencies += "org.scalatest" %% "scalatest" % "3.0.1" % "test"

libraryDependencies += "org.javadelight" % "delight-nashorn-sandbox" % "0.0.10"
	